import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { JoaLeaveComponent } from './leave/leave.component';
import { JoaLoanComponent } from './loan/loan.component';

const routes: Routes = [

  { path: 'leave', component: JoaLeaveComponent },
  { path: 'loan', component: JoaLoanComponent },
]
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class JoaRoutingModule { }
